<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <f:view>
        <head>
            <jsp:directive.include file="../common/head.jsp"/>
        </head>

        <body>

            <jsp:directive.include file="../frame/navigation.jsp"/>

            <f:loadBundle basename="offset.nodes.server.view.ApplicationResource" var="msg"/>

            <div id="toolbar" style="display:none;">
                <h:form id="toolbarForm">
                    <table width="100%" cellpadding="10">
                        <tr>
                            <td><h:graphicImage value="#{NodesBean.imagePath}/logo.gif"/></td>
                        </tr>
                        <tr height="40">
                            <td>
                                <table>
                                    <td align="left"><jsp:directive.include file="../common/path.jsp"/></td>
                                    <td align="right">
                                        <jsp:directive.include file="toolbar.jsp"/>
                                    </td>
                                </table>
                            </td>
                        </tr>
                    </table>
                </h:form>
            </div>

            <h:panelGroup layout="block" id="actionBar" style="#{LayoutBean.showingActions ? 'display:none;' : ''}">
                <h:form>
                    <h:inputHidden id="path" value="#{PathBean.path}" immediate="true"/>
                </h:form>
            </h:panelGroup>

             <h:panelGroup layout="block" style="#{LayoutBean.hidingActions ? 'float:left;width:95%' : ''}">
                <jsp:directive.include file="content.jsp"/>
            </h:panelGroup>

            <div id="appletDialog">
            </div>

        </body>
    </f:view>
</html>
